package com.jd.jstable.strategy;

import com.jd.jstable.config.KeyMode;

import java.lang.reflect.Method;

/**
 * 面向调用结果的策略
 * Created by chenyipu on 2018/1/10.
 */
public abstract class ResultOrientedStrategy extends Strategy{
    /**
     *
     * @param invoker
     * @param method
     * @param args
     * @param result
     * @param param 用户配置在注解的参数
     * @param keyMode
     */
    public abstract void feed(Object invoker, Method method, Object[] args, Object result, String param, KeyMode keyMode);
}
